<div>

<?php
	echo $this->Form->create("User",array("action"=>"fileUpload","type"=>"file"));
	echo $this->Form->input("fileName",array('type'=>'file'));
	echo $this->Form->submit("上传");
	echo $this->Form->end();
?>

</div>